import React, { memo } from 'react'
import { useNavigate } from 'react-router-dom'
import { NavBar } from 'react-vant'
import Image1 from '../../image/8.png'
import style from './index.module.scss'

const Index = memo( () => {
    const navigate=useNavigate()
  return (
    <div>
      <NavBar
      className={style.nav}
      title="健康计划"
      onClickLeft={() => navigate(-1)}
    />
        <img src={Image1} alt="" width={"100%"}/>
        <div className={style.box3}>
            <div className={style.text3}>
                <p>开通会员立即咨询</p>
                <p>
                    <span>工作时间8:00-22:00</span>
                </p>
                <p>
                    <button onClick={() => navigate('/huiyuan')}>开通会员</button>
                </p>
            </div>
            
        </div>
    </div>
  )
})

export default Index
